package com.twu.biblioteca.view;

import com.twu.biblioteca.presenter.LogoutPresenter;
import com.twu.biblioteca.view.utils.Output;

/**
 * Created with IntelliJ IDEA.
 * User: cschlumb
 * Date: 19/08/2013
 * Time: 10:06
 * To change this template use File | Settings | File Templates.
 */
public class LogoutView implements LogoutPresenter.Display{

    private final Output output;

    public LogoutView(Output output) {
        this.output = output;
    }

    @Override
    public void successMessage(){
        output.write("Successfully logged out!");
    }

}
